home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / batchlrn.arc / SORT.HLP < prev    next >
Text File  |  1991-06-17  |  1KB  |  22 lines

  1. |---------------B A T C H L R N  H E L P  S Y S T E M-----------------|
  2. |command:SORT (with options)                                          |
  3. |use:SORT puts lines from a specified file into a particular order.   |
  4. |how:Type: "SORT < file.ext" = Sorted file will be displayed on scrn. |
  5. |          "SORT /R <file.ext"=REVERSE sorted file to screen.         |
  6. |          "SORT+n < file.ext"=Sort by character in col.n(number).*   |
  7. |          "SORT < file.ext > sortedfile.ext=Sorts file.ext,then puts |
  8. |              data in sortedfile.ext.                                |
  9. |          "SORT < file.ext >> sortedfile.ext=Sorts file.ext, then    |
  10. |              APPENDS sorted data to EXISTING sortedfile.ext.        |
  11. |          "SORT < CON > file.ext=Sorts as you type data on keyboard, |
  12. |              then places sorted data into file.ext.                 |
  13. |          "SORT /R+n < file.ext"=Sort in reverse by col.n.*          |
  14. |      ANY OF THE ABOVE COMMANDS CAN BE INSERTED IN A BATCH FILE      |
  15. |                                          |
  16. |  N-O-T-E:Since SORT is a filter it gets its data via redirection < .|
  17. |  *column n=1-80 [look at the ASCII text, count from the left].Sort  |
  18. |  is by ASCII preference [#$%&'()*+0 1-9 :;<=>?@ A-Z [\]^ a-z{|},etc]|
  19. |  Tips:DIR|SORT > PRN [prints DIR] & DIR|SORT > DIRECT.LST [stores   |
  20. |  in a file of your choice].                                         |
  21. |---------------T  I   M   E   M   A   S   T   E   R------------------|
  22.